package com.jeeplus.modules.graph.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@NoArgsConstructor
public class Evaluation {
    private String institute;		// 学院

    private String grade;		// 年级

    private String classe;		// 班级

    private String evaluate;  // 评价情况

    private String isEvaluate;

    private String noEvaluate;

    private int number;  // 数量

    private int percent; // 百分比

    private Double point; // 小数点后的余额，不需要返回给前端

    public Evaluation(int number,String evaluate){
        this.number = number;
        this.evaluate = evaluate;
    }

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date startDate;		// 通过开始查询
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date endDate;		// 通过结束查询
}
